package com.tanhua.dubbo.server.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;

/**
 * @description: 相册表，用于存储自己发布的数据，每一个用户一张表进行存储
 * @author: Administrator
 * @date: Created in 2021/2/20 11:34
 * @version: 0.0.1
 * @modified By:
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Document(collection = "quanzi_album")
public class Album implements Serializable {
    private static final long serialVersionUID = 432183095092216817L;
    private ObjectId id;   //主键id
    private ObjectId publishId; //发布id
    private Long created;  //发布时间
}
